<template>
<div class="header">
    <div class="header-left">
      <span class="iconfont">&#xe6bc;</span>
    </div>
    <div class="header-input">
      <span class="iconfont">&#xe61b;</span>
      输入城市/景点/游玩主题
    </div>
    <div class="header-right">
      <router-link to="Ctyl" class="header-back">
        {{this.$store.state.city}}
      </router-link>
      <span class="iconfont">&#xe668;</span>
    </div>
</div>
</template>

<script>
export default {
  name: 'HelloWorld'
}
</script>

<style lang="stylus" scoped>
.header
  display: flex
  height: 2.6rem
  background: #00bcd4
  line-height: 2.6rem
  color: #fff
  font-size: .86rem
  width: 100%
  .header-left
    float: left;
    text-align: center;
    width: 10%
    .iconfont
      font-size: 1.4rem
  .header-input
    flex: 1
    background:#fff
    color: #CCC
    height: 2rem
    line-height: 2rem
    border-radius: .1rem
    width: 75%
    margin: .26rem 0
  .header-right
    color: #fff
    float: right
    text-align: center
    min-width: 15%
    font-size: .9rem
    .header-back
      color: #fff
</style>
